import axios from 'axios'
const http = axios.create({
  baseURL: 'http://rap2.taobao.org:38080/app/mock/259699'
})
http.interceptors.request.use(function (config) {
  return config
}, function (error) {
  return Promise.reject(error)
})
http.interceptors.response.use(function (response) {
  return response
}, function (error) {
  return Promise.reject(error)
})

export default http
